﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.Master" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="KPIS.GERP.GBMS.APP_UI.Form.Test" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<%@ Register src="../Controls/Panel/UserPanel.ascx" tagname="UserPanel" tagprefix="uc3" %>
<%@ Register src="../Controls/Panel/BroadcastPanel.ascx" tagname="Broadcast" tagprefix="uc7" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<Link rel="StyleSheet" href="../../Styles/StyleSheet.css" type="text/css">

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="None"  > 
</telerik:RadAjaxLoadingPanel>

<telerik:RadAjaxManager runat="server" ID="RadManager1" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
    <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="CmdCtrl">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="PanelGrid" LoadingPanelID="RadAjaxLoadingPanel1"/>
                    <telerik:AjaxUpdatedControl ControlID="PanelList" LoadingPanelID="RadAjaxLoadingPanel1"/>                    
                </UpdatedControls>
            </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">        
    <script type="text/javascript">
        
        function openProjectDetails()   
        {
            var id = "";
            radopen("BGM_Project.aspx?id="+id+"&type=rq", "ProjectDtls");
        }
        function closeRadWindow(sender, args) {
            $find("<%= RadManager1.ClientID %>").ajaxRequest('CloseWindow');
        }
        

    </script>
</telerik:RadCodeBlock>

<telerik:RadWindowManager 
    ID="RadWindowManager1" 
    ShowContentDuringLoad="false" 
    VisibleStatusbar="false" 
    ReloadOnShow="true" 
    runat="server" 
    Skin="WebBlue" 
    Modal="true"
    KeepInScreenBounds="true" 
    Style="z-index: 7001">
    <Windows>
        <telerik:RadWindow 
            ID="ProjectDtls" 
            runat="server" 
            Width="1024px" 
            Height="590px"
            Behaviors="Reload, Close"
            OnClientClose="closeRadWindow">
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>   
</asp:Content>
